package com.zjp.common.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("order_info")
public class Order {

    @TableId
    private Long orderId;
    private String name;
    private BigDecimal orderAmount;

    private Date addTime;
    // 1 预订单 2 已支付 3 超时 4 取消
    private Integer orderStatus;
    // 1 未支付 2 支付成功 3 支付失败
    private Integer payStatus;
    private Date payTime;
}
